package com.zxbit.flash.bean;

import com.zxbit.flash.utils.DebugLog;

import java.io.Serializable;

public class ContactItemInfoData implements Serializable {
    private static final long serialVersionUID = 3403738853571309084L;


    /**
     * orderNo : 1
     * mobile : 12345361
     * userName : A
     * relation : 1
     */

    private String orderNo;
    private String mobile;
    private String userName;
    private String relation;

    public String getRealtionValue() {
        return realtionValue;
    }

    public void setRealtionValue(String realtionValue) {
        this.realtionValue = realtionValue;
    }

    private String realtionValue;
    private String TAG = ContactItemInfoData.class.getSimpleName();

    public String getOrderNo() {
        return orderNo;
    }

    public int getOrderNoInt() {
        int tempNum = -1;
        try {
            tempNum = Integer.parseInt(orderNo);
        } catch (NumberFormatException e) {
            DebugLog.e(TAG, "NumberFormatException：orderNo :" + orderNo == null ? "null" : orderNo);
        } finally {
            return tempNum;
        }

    }


    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRelation() {
        return relation;
    }

    public void setRelation(String relation) {
        this.relation = relation;
    }
}
